package com.wdb007.venus.svc.facade;

import java.math.BigDecimal;
import java.util.Date;
import java.util.Map;

import com.wdb007.venus.svc.facade.wxapp.model.SendMsgReqDTO;

//小程序推送
public interface WxAPPMessagePushService {
	//添加formid
	public void saveMsgFormId(String appid, String openid, Long userid, String formId);
	//更新formid使用状况
	public void updateMsgFormId(String appid, String openid, Long userid, String formId, String content);
	//查询可用的formid
	public String selectByWxOpenid(String appid, String openid, Long userid);
	//获取 access_token
	public String getAccessToken(String grant_type,String appid,String secret);
	//发送小程序模板消息
	public String sendTemplateMsg(SendMsgReqDTO dto);
	
	public void sendContent(String templateId, Map<String, Object> content, Long userid,String openid, String page) ;
	
	public void sendRechangeToAccountNotice(String mobileNo, int payType, Date payTime, BigDecimal addAmount, Long userid) ;
	
	public void sendVipCardToAccountNotice(int vipType, BigDecimal addAmount, String payTime,
			Long userid, String endtime, int chargeType); 
	
	public void sendBorrowBookOverNotice(int borrowNum, int outNum, String outBookName, Date borrowTime,
			Long userid);
	
	public void sendPayDepositNotice(BigDecimal money, String payType, String payTime, Long userid) ;
	
	public void sendBorrowFeeOverPriceNotice(String bookName, String bookPrice, String borrowPrice, Long userid) ;
	
	public void sendBackDepositSuccessNotice(Long userid);
	
	public void sendVipExpireTimeNotice();
	
	public void sendErrorMsg(String phone);
	
	public void sendMerchantActivityNotice(Long userid, String rewardsName, String status);
	
	
}
